package io.renren.modules.neo4j.entity.node;

import io.renren.modules.neo4j.constant.NodeType;
import io.renren.modules.neo4j.entity.base.BaseNode;
import io.renren.modules.neo4j.entity.base.BaseRelationship;
import org.neo4j.ogm.annotation.Relationship;

import java.util.List;
import java.util.Set;

public class course extends BaseNode {
    @Override
    public String toString() {
        return super.toString();
    }

    @Relationship(type="progressively")
    private Set<course> course;

    @Relationship(type="contain")
    private List<knowledge> knowledge;

    public List<io.renren.modules.neo4j.entity.node.knowledge> getKnowledge() {
        return knowledge;
    }

    public void setKnowledge(List<io.renren.modules.neo4j.entity.node.knowledge> knowledge) {
        this.knowledge = knowledge;
    }

    public Set<io.renren.modules.neo4j.entity.node.course> getCourse() {
        return course;
    }

    public void setCourse(Set<io.renren.modules.neo4j.entity.node.course> course) {
        this.course = course;
    }
}
